package com.molichuxing.services.business.dto.response;

import java.math.BigDecimal;

import com.molichuxing.services.property.OrderPaymentMethodEnum;
import com.molichuxing.services.property.OrderSubscribeStatusEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订阅里程订单dto
 * 
 * @author zoumingyu
 * @date 2019年8月26日
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderSubscribeBizDto extends OrderMemberBizDto {
	private static final long serialVersionUID = -3851165123499913869L;

	/**
	 * 订单状态 order_status
	 */
	private OrderSubscribeStatusEnum orderStatus;

	/**
	 * 是否有续订单（0：无，1：有） is_have_suborder
	 */
	private Boolean isHaveSuborder;

	/**
	 * 车型id vehicle_id
	 */
	private Integer vehicleId;

	/**
	 * 商品租车费(商品信息) rental
	 */
	private BigDecimal rental;
	
	/**
	 * 服务费率（百分比） service_fee_rate
	 */
	private BigDecimal serviceFeeRate;

	/**
	 * 用车时长（1：1个月，n：n个月） transport_time
	 */
	private Integer transportTime;
	
	/**
     * 订单起始车辆里程 start_mileage
     */
    private Integer startMileage;

	/**
	 * 基础里程 base_mileage
	 */
	private Integer baseMileage;

	/**
	 * 基础里程金额 base_mileage_price
	 */
	private BigDecimal baseMileagePrice;

	/**
	 * 里程包里程数 package_mileage
	 */
	private Integer packageMileage;

	/**
	 * 里程包价格 package_mileage_price
	 */
	private BigDecimal packageMileagePrice;

	/**
	 * 赠送里程（0：不赠送） gift_mileage
	 */
	private Integer giftMileage;

	/**
	 * 加购里程数(总) purchase_mileage
	 */
	private Integer purchaseMileage = 0;

	/**
	 * 加购里程金额(总) purchase_fee
	 */
	private BigDecimal purchaseFee;

	/**
	 * 超里程数(总) beyond_mileage
	 */
	private Integer beyondMileage;

	/**
	 * 超里程金额(总) beyond_fee
	 */
	private BigDecimal beyondFee;
	
    /**
     * 订单预警里程 warning_mileage
     */
    private Integer warningMileage;

    /**
     * 订单结束车辆里程 end_mileage
     */
    private Integer endMileage;

    /**
     * 订单还车结算车辆里程 settle_mileage
     */
    private Integer settleMileage;

    /**
     * 父订单号 parent_order_code
     */
    private Long parentOrderCode;


	/**
	 * 付款方式（1：一次性付清） payment_method
	 */
    private OrderPaymentMethodEnum paymentMethod;


    /**
     * 里程包id package_mileage_id
     */
    private Integer packageMileageId;

    /**
	 * 合同模板ids，多个逗号分隔 contract_template_ids
	 */
	private String contractTemplateIds;
	
	/**
	 * 订单结算费用
	 */
	private BigDecimal settlementFee;
}
